package com.ruoyi.course.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程与分类关联对象 course_category_relation
 * 
 * @author gzq
 * @date 2025-08-15
 */
public class CourseCategoryRelation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关联记录ID */
    private String id;

    /** 课程ID */
    @Excel(name = "课程ID")
    private String courseId;

    /** 分类ID */
    @Excel(name = "分类ID")
    private String categoryId;

    /** 是否删除：0正常 1删除 */
    @Excel(name = "是否删除：0正常 1删除")
    private Integer del;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setCourseId(String courseId) 
    {
        this.courseId = courseId;
    }

    public String getCourseId() 
    {
        return courseId;
    }

    public void setCategoryId(String categoryId) 
    {
        this.categoryId = categoryId;
    }

    public String getCategoryId() 
    {
        return categoryId;
    }

    public void setDel(Integer del) 
    {
        this.del = del;
    }

    public Integer getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseId", getCourseId())
            .append("categoryId", getCategoryId())
            .append("createTime", getCreateTime())
            .append("del", getDel())
            .toString();
    }
}
